package com.aceitunaproject.server.unit;



import com.aceitunaproject.server.exceptions.gamerules.IllegalActionException;

/**
 * Unit manager interface for handling unit-related operations
 * 
 * @author Maciej Miechowicz
 */
public interface UnitManager {
	
	/**
	 * Moves an unit to a given X,Y coordinates on the world map
	 *  
	 * @param unitId id of the unit to move
	 * @param destinationX x coordinate of the destination tile
	 * @param destinationY y coordinate of the destination tile
	 */
	
	void moveUnit(long unitId,long destinationX,long destinationY) throws IllegalActionException;

}
